package com.rockk.generator.md.dto;

import java.util.ArrayList;
import java.util.List;


public class TableMeta {

	private String name;
	private String remarks;
	private List<ColumnMeta> columnMetas = new ArrayList<ColumnMeta>();
	
	public String getName() {
		return format(name);
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRemarks() {
		return format(remarks);
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public List<ColumnMeta> getColumnMetas() {
		return columnMetas;
	}
	public void setColumnMetas(List<ColumnMeta> columnMetas) {
		this.columnMetas = columnMetas;
	}
	public String format(String val){
		if(val == null)
			return "";
		return val;
	}
}
